export const state = {
	userInfoList:[
		{title:'我的积分',number:888,showIcon:false},
		{title:'我的微课',number:3,showIcon:false},
		{title:'教辅资料',number:10,showIcon:false},
		{title:'助学金',number:38888,showIcon:true},
	],
	myBanners:[
		{
			type: '2',
			img: require('@/static/banner/banner-jl1.png'),
			url: '/subpages/home/template'
		}
	],
	oftenFeatures: [
		{ judgeIsLogin: true,label: '选班', icon: require('@/static/icon/menu/xuanban.png'), path: '/subpages/my/chooseClass' },
		{ judgeIsLogin: true,label: '课程表', icon: require('@/static/icon/menu/kebiao.png'), path: '/subpages/my/schedule' },
		{ judgeIsLogin: true,label: '考勤', icon: require('@/static/icon/menu/kaoqing.png'), path: '/subpages/my/attence' },
		{ judgeIsLogin: true,label: '作业', icon: require('@/static/icon/menu/zuoye.png'), path: '/subpages/my/homework' },
		{ judgeIsLogin: true,label: '测试', icon: require('@/static/icon/menu/ceshi.png'), path: '/subpages/my/test' },
		{ judgeIsLogin: true,label: '练习', icon: require('@/static/icon/menu/lianxi.png'), path: '/subpages/my/practice' },
		{ judgeIsLogin: true,label: '成绩', icon: require('@/static/icon/menu/chengji.png'), path: '/subpages/my/grade' },
		{ judgeIsLogin: true,label: '收货地址', icon: require('@/static/icon/menu/addres.png'), path: '/subpages/my/deliveryAddress' }
	],
	otherFeatures: [
		{ judgeIsLogin: true,label: '意见反馈', icon: require('@/static/icon/menu/jianyi.png'), path: '/subpages/my/evaluate/index' },
		{ judgeIsLogin: false,label: '在线反馈', icon: require('@/static/icon/menu/kefu.png'), path: '' },
		{ judgeIsLogin: false,label: '切换账号', icon: require('@/static/icon/menu/qiehuan.png'), path: '/subpages/user/loginChange', },
		{ judgeIsLogin: false,label: '退出登录', icon: require('@/static/icon/menu/tuichu.png'), path: 'pages/my/my', },
	]
};
export const mutations = {
	// 修改 smallBanners 数据
	setBanners(state,data){
		if(!data) return
		state.smallBanners = data
	},
};
export const actions = {

};
